package com.yuanguangsheng.disk.mybatis.flexigrid;

import java.util.ArrayList;
import java.util.List;

/**
 * table  每一行数据
 */
public class TblRowsEntity {

    public TblRowsEntity(){}
    public TblRowsEntity(Integer index){
        this.id = index;
    }
    private Integer id;

    private List<Object> cell =
            new ArrayList<Object>();

    public TblRowsEntity(int i) {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public List<Object> getCell() {
        return cell;
    }

    public void setCell(List<Object> cell) {
        this.cell = cell;
    }

    public void addCell(Object item) {
        this.cell.add(item);
    }

    @Override
    public String toString() {
        return "TblRowsEntity{" +
                "id=" + id +
                ", cell=" + cell +
                '}';
    }
}
